package io.github.talelin.latticy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.github.talelin.latticy.common.mybatis.Page;
import io.github.talelin.latticy.model.ReceivingRecordDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.latticy.vo.ReceivingRecordVO;

import java.util.List;

/**
 * <p>
 * 入库收货记录表 Mapper 接口
 * </p>
 *
 * @author generator@wulongbo
 * @since 2022-07-20
 */
public interface ReceivingRecordMapper extends BaseMapper<ReceivingRecordDO> {
    /**
     * 查询收货记录列表
     *
     * @param inboundOrderNo
     * @return
     */
    IPage<ReceivingRecordVO> getReceivingRecordPage(Page pager, String inboundOrderNo);


    ReceivingRecordVO getReceivingRecordList(String inboundOrderNo);

    /**
     * 根据ids查询收货信息
     *
     * @param ids
     * @return
     */
    List<ReceivingRecordVO> getReceivingRecordByIds(Long[] ids);
}
